const http = uni.$u.http;

const getRegionByCode = (params) => {
	const url = `/paas-system/region/lazy-tree`
	return http.get(url, {
		params
	})
}

const getRegionDetail = (params) => {
	const url = '/paas-system/region/detail'
	return http.get(url, {
		params
	})
}

const getDmsRegion = (params) => {
	const url = `/paas-listen/advice/region-list`
	return http.get(url, {
		params
	})
}


export default {
	getRegionByCode,
	getDmsRegion,
	getRegionDetail
}


